Debugger Notes, Hints, and Tips

When using Visual Studio to debug RTX applications, note the following hints and tips.

Debug Behavior

%RTXSDKDir%\DebuggerExtensions\

If these files exist and you still do not see the IntervalZero Real-Time Debugger, try the following:

</ItemDefinitionGroup>

<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />

<Import Project="$(RTXSDKDir)\DebuggerExtensions\IntervalZero.targets"

Condition="exists('$(RTXSDKDir)\DebuggerExtensions\IntervalZero.targets')" />

 

Known Issues and Limitations

Accessing Memory Outside the RTX Thread Stack

During most exceptions, the Visual Studio debugger will stop and jump to the source. Since RTX does not currently provide process-to-process memory protection, if an attempt is made to access memory outside the RTX allocated stack, an RTX exception stack fault occurs. In this case, Windows also generates an exception, recognizing the Access Violation. This causes a double-fault, resulting in the Visual Studio Debugger being unable to proceed.

Related Topics:

MiniTutorials:

IntervalZero.com | Support | Give Feedback